package com.mtwp.dfs.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "app")
public class AppConfig {
    /*
    title: dfs存储(网关)
  httpProdocol: http
  resHost: 106.14.140.96
  fdfsStoragePort: 22122
     */
    private String name;
    private String title;
    private String httpProdocol;
    private String resHost;
    private Integer fdfsStoragePort;
}
